Optimal. Leaf size=57 \[ -\frac {2^{1+p} d^2 \left (\frac {d-e x}{d}\right )^{1+p} \, _2F_1\left (-1-p,1+p;2+p;\frac {d-e x}{2 d}\right )}{e (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 56, normalized size of antiderivative = 0.98, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {655, 251}
\begin {gather*} d x \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};\frac {e^2 x^2}{d^2}\right )-\frac {d^2 \left (1-\frac {e^2 x^2}{d^2}\right )^{p+1}}{2 e (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 655
Rubi steps
\begin {align*} \int (d+e x) \left (1-\frac {e^2 x^2}{d^2}\right )^p \, dx &=-\frac {d^2 \left (1-\frac {e^2 x^2}{d^2}\right )^{1+p}}{2 e (1+p)}+d \int \left (1-\frac {e^2 x^2}{d^2}\right )^p \, dx\\ &=-\frac {d^2 \left (1-\frac {e^2 x^2}{d^2}\right )^{1+p}}{2 e (1+p)}+d x \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};\frac {e^2 x^2}{d^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 56, normalized size = 0.98 \begin {gather*} -\frac {d^2 \left (1-\frac {e^2 x^2}{d^2}\right )^{1+p}}{2 e (1+p)}+d x \, _2F_1\left (\frac {1}{2},-p;\frac {3}{2};\frac {e^2 x^2}{d^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.45, size = 47, normalized size = 0.82
method | result | size |
meijerg | \(\frac {e \,x^{2} \hypergeom \left (\left [1, -p \right ], \left [2\right ], \frac {e^{2} x^{2}}{d^{2}}\right )}{2}+d x \hypergeom \left (\left [\frac {1}{2}, -p \right ], \left [\frac {3}{2}\right ], \frac {e^{2} x^{2}}{d^{2}}\right )\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.54, size = 78, normalized size = 1.37 \begin {gather*} d x {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - p \\ \frac {3}{2} \end {matrix}\middle | {\frac {e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )} + e \left (\begin {cases} \frac {x^{2}}{2} & \text {for}\: e^{2} = 0 \\- \frac {d^{2} \left (\begin {cases} \frac {\left (1 - \frac {e^{2} x^{2}}{d^{2}}\right )^{p + 1}}{p + 1} & \text {for}\: p \neq -1 \\\log {\left (1 - \frac {e^{2} x^{2}}{d^{2}} \right )} & \text {otherwise} \end {cases}\right )}{2 e^{2}} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.39, size = 58, normalized size = 1.02 \begin {gather*} d\,x\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},-p;\ \frac {3}{2};\ \frac {e^2\,x^2}{d^2}\right )-\frac {\left (d^2-e^2\,x^2\right )\,{\left (1-\frac {e^2\,x^2}{d^2}\right )}^p}{2\,e\,\left (p+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________